﻿using ECO.Admin.Application.Controllers.Auth.Services;
using ECO.Admin.Core.Shared.Const;
using Microsoft.Extensions.Logging;

namespace ECO.Admin.Application.Controllers.System
{
    /// <summary>
    /// 系统服务接口
    /// </summary>
    public class SystemAppService : IDynamicApiController
    {
        private readonly ILogger<SystemAppService> _logger;

     

        private readonly IAuthService _systemService;
        public SystemAppService(IAuthService systemService, ILogger<SystemAppService> logger)
        {
            _systemService = systemService;
            _logger = logger;
        }

        /// <summary>
        /// 获取系统描述
        /// </summary>
        /// <returns></returns>
        [AllowAnonymous]
        public string Get( )
        {
            return App.HttpContext.GetRemoteIpAddressToIPv4();
        }

   

    }
}